package com.template.utlis;

/**
 * @author wangqi
 * @date 2024-01-09 10:10
 */
public enum FeiShuResponseEnum {
    BAD_REQUEST("9499","Bad Request","请求体格式错误"),
    IP_NOT_ALLOWED("19022","Ip Not Allowed","服务不在机器人ip白名单中"),
    NOT_HAS_KEYWORD("19024","Key Words Not Found","文本不包含机器人设定的关键字词"),
    SIGN_ERROR("19021","sign match fail or timestamp is not within one hour from current time","签名校验失败"),
    SUCCESS("0", "success","发送成功");

    private String code;
    private String msg;
    private String desc;

    FeiShuResponseEnum(String code, String msg, String desc) {
        this.code = code;
        this.msg = msg;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
